import serial

ser = serial.Serial("/dev/ttyUSB0", 115200, timeout=0.5)
print(ser.name)
while True:
    recv = str(ser.readline())
    recv = recv.replace("b'", '')
    recv = recv.replace("\\r\\n'", '')
    print(recv)
    ser.close()
